package com.tem.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论媒体
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_comment_img")
@ApiModel(value="ProductCommentImg对象", description="评论媒体")
public class ProductCommentImg implements Serializable {
    private static final long serialVersionUID=894565054641L;
    @ApiModelProperty(value = "产品评论  目前只支持图片")
    @TableId(value = "product_comment_img_id", type = IdType.AUTO)
    private Long productCommentImgId;

    @TableField("product_comment_id")
    private Long productCommentId;

    @TableField("img_url")
    private String imgUrl;

    @ApiModelProperty(value = "50字以内")
    @TableField("msg")
    private String msg;


}
